package com.twu.biblioteca;

/**
 * Created by vishwasdamle on 05/08/14.
 */
abstract public class Item {

    private int assignedTo;

    abstract public boolean isAvailable();
    abstract public String getName();
    abstract public boolean checkOut();
    abstract public boolean checkIn();

    @Override
    abstract public String toString();
    @Override
    abstract public boolean equals(Object obj);

    public void assignedTo(int loggedInUser){
        this.assignedTo = loggedInUser;
    };

    public int getAssignedTo() {
        return assignedTo;
    }
}
